package com.woniuxy.exam.service;

import com.woniuxy.commons.entity.ShortAnswer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
@author zouyang
@date 2020/7/25 - 16:41
*/
public interface ShortAnswerService{

    List<ShortAnswer> selectAll();

    int insertList(@Param("list")List<ShortAnswer> list);

    List<ShortAnswer> selectByAll(ShortAnswer shortAnswer);

    int deleteByPrimaryKey(Integer id);

    int insert(ShortAnswer record);

    int insertSelective(ShortAnswer record);

    ShortAnswer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShortAnswer record);

    int updateByPrimaryKey(ShortAnswer record);

    List<Integer> selectIdByBankId(@Param("bankId")Integer bankId);

}
